package cn.tangsihai.org.domain;
import cn.tangsihai.basic.domain.BasicDomain;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data // get/set/toString/等方法的集合体，注：没有有参构造
public class Department extends BasicDomain {
    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    private Long manager_id;
    private Employee manager; // 对象传值
    private Long parent_id;
    private Department parent; // 对象传值
    private List<Department> children = new  ArrayList();
}
